package ejb;

import Entities.MenuEjecutivo;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

@Stateless
public class MenuEjecutivoFacade extends FacadeAbstracto<MenuEjecutivo> implements MenuEjecutivoFacadeLocal {
    @PersistenceContext(unitName = "SGR-ejbPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public MenuEjecutivoFacade() {
        super(MenuEjecutivo.class);
    }

    @Override
    public int contarConParametros(List<Condicional> condicionales, String adicional) throws Exception {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }
    
}
